﻿<%@ Page Title="UserList" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="UserList.aspx.cs" Inherits="Snow.UserList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 80%;">
        <tr>
            <td>
                uid:<asp:TextBox ID="txtUid" runat="server"></asp:TextBox>
            </td>
            <td>
                login_name:<asp:TextBox ID="txtLoginName" runat="server"></asp:TextBox>
                &nbsp;&nbsp;&nbsp; name:<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:CheckBox ID="chkMale" Text="♂" runat="server" Checked="true" />
                <asp:CheckBox ID="chkFemale" Text="♀" runat="server" Checked="true" />
            </td>
            <td>
                <asp:CheckBox ID="chkWei" runat="server" Text="伪" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:RadioButtonList ID="rdoDate" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem>NONE</asp:ListItem>
                    <asp:ListItem>最近3天</asp:ListItem>
                    <asp:ListItem>最近1周</asp:ListItem>
                    <asp:ListItem>最近半月</asp:ListItem>
                    <asp:ListItem>最近1月</asp:ListItem>
                    <asp:ListItem Selected="true">最近3月</asp:ListItem>
                </asp:RadioButtonList>
                &nbsp;&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:Button ID="btmQuery" runat="server" OnClick="btmQuery_Click" Text="Query" />
            </td>
        </tr>
    </table>
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="uid">
                <ItemTemplate>
                    <a href='UUserDetail.aspx?uid=<%# Eval("uid") %>' target="_blank">
                        <%# Eval("uid") %></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="login_name" HeaderText="login_name" />
            <asp:TemplateField HeaderText="name">
                <ItemTemplate>
                    <a href='OperationLog.aspx?uid=<%# Eval("uid") %>' target="_blank">
                        <%# Eval("name")%></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="level" HeaderText="level" />
            <asp:BoundField DataField="level_cancel_time" HeaderText="level_expire" />
            <asp:BoundField DataField="reg_time" HeaderText="reg_time" />
            <asp:BoundField DataField="last_time" HeaderText="last_time" />
            <asp:BoundField DataField="login_count" HeaderText="count" />
            <asp:BoundField DataField="point" HeaderText="point" />
            <asp:BoundField DataField="last_address" HeaderText="last_address" />
            <asp:BoundField DataField="state" HeaderText="state" />
            <asp:BoundField DataField="sex" HeaderText="sex" />
            <%--<asp:BoundField DataField="qq" HeaderText="qq" />--%>
            <asp:BoundField DataField="province" HeaderText="province" />
            <asp:BoundField DataField="city" HeaderText="city" />
        </Columns>
    </asp:GridView>
</asp:Content>
